import React from 'react';
import { useNavigate } from 'react-router-dom';
import { type } from '@testing-library/user-event/dist/type';
import { Pagination,ConfigProvider } from 'antd';
import zh_CN from 'antd/locale/zh_CN'
import SelectDate from './date';

const showTotal = (total) => {return `共 ${total} 条记录`;}
const onChange = (page,pageSize)=>{console.log(page,pageSize);}
const Paging = () => (
  <>
    <SelectDate/>
    {/* <Body/> */}
   {/* <ConfigProvider locale={zh_CN}>
    <Pagination  total={50} pageSize={5}
    showTotal={showTotal} 
    onChange={onChange}
    // defaultPageSize={5}
    showSizeChanger 
    showQuickJumper 
    pageSizeOptions={[5,10,20,30,50]}/>
    </ConfigProvider> */}
  </>
);
export default Paging;